vcRaycastSensor
Raycast Sensor detects the closest component intersecting with a finite ray in the 3D world.
See in: Overview
Module: vcBehaviors
Parent: vcBehavior
Children -
Referenced by: -
Properties
Learn how to use properties here. The properties are also inherited from the parent class.
| Name | Type | Access | Description |
| BoolSignal | vcBooleanSignal | RW | Gets or sets the signal used for signaling See morewhether or not a component has intersected the ray within a distance tolerance set by the DetectionThreshold property. |
| ComponentSignal | vcComponentSignal | RW | Gets or sets the signal used for signaling the component detected by the ray. |
| DetectionContainer | vcContainer | RW | Gets or sets if the sensor only detects components in a specific container type behavior. |
| DetectionThreshold | Real | RW | Gets or sets the distance at which the RangeSignal property will start to send distance information for a detected component. |
| Frame | vcFrameFeature | RW | Gets or sets the Frame feature that is referenced as the physical location of the sensor. The ray is cast along the positive Z-axis of its location. |
| MaxRange | Real | RW | Gets or sets the length of the ray cast by the sensor. |
| RangeSignal | vcRealSignal | RW | Gets or sets the signal used for signaling the range of a detected component to sensor's location. |
| SampleTime | Real | RW | Gets or sets the time interval (in seconds) for detecting components when the UseSampling property has a True value. |
| ShowRay | Boolean | RW | Gets or sets the visibility of the ray in the 3D world. The ray is rendered as a red line. |
| TestParent | Boolean | RW | Gets or sets if the sensor can detect geometry contained in the sensor's node. Generally, a True value is used when you want to detect self collisions. |
| UpdateScene | Boolean | RW | Gets or sets the rendering of the scene in the 3D world when a component triggers the sensor.See moreGenerally, a True value is used in cases where there are many moving parts, whereas a False value should be used if only the sensor's component moves during a simulation. |
| UseSampling | Boolean | RW | Gets or sets the rate at which the sensor detects components.See moreA True value means detection occurs at a sampling interval defined by the SampleTime property. A False value means detection occurs when a signal is received from a connected Boolean Signal (pulse mode). |